const timeUtil = {
    getTime: (value) => {
        let date = new Date(value);
        let Str = date.getFullYear() + '-' +
            (date.getMonth() + 1) + '-' +
            date.getDate();
        return Str;
    }
};
module.exports = timeUtil;